<?php

class Application_Model_DbTable_Rent extends Zend_Db_Table_Abstract implements Application_Model_DbTable_Interface
{
    const FIELD_ID    = 'rent_id';
    const FIELD_TITLE = 'rent_title';
    const FIELD_PHOTO = 'rent_photo';
    const FIELD_DESC  = 'rent_desc';
    const FIELD_PRICE = 'rent_price';
    const FIELD_PRICE_MORE = 'rent_price_more';
    const FIELD_BAIL  = 'rent_bail';
    const FIELD_DATE  = 'rent_date';
    const FIELD_IS_ACTIVE = 'rent_is_active';
    const FIELD_CATEGORY = 'rent_category';

    protected $_name = 'rent';

    public function getPrimaryKey()
    {
        return self::FIELD_ID;
    }
}